import request from "../../utils/request";
import type { loginFormData,ResponseData,loginResponseData} from './type'

//项目用户相关的请求地址
enum API {
  LOGIN_URL = '/login',
}

//登录接口
export const loginApi = (data: loginFormData) =>
  request.post<any, loginResponseData>(API.LOGIN_URL, data)
